package com.epidemic.project.system.temperature.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.epidemic.framework.aspectj.lang.annotation.Excel;
import com.epidemic.framework.web.domain.BaseEntity;

/**
 * 体温情况对象 sys_body_temperature
 *
 * @author sys
 * @date 2023-02-01
 */
public class SysBodyTemperature extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 时间 */
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /** 体温情况 */
    @Excel(name = "体温情况")
    private String tiWen;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }
    public void setTiWen(String tiWen)
    {
        this.tiWen = tiWen;
    }

    public String getTiWen()
    {
        return tiWen;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("addTime", getAddTime())
            .append("tiWen", getTiWen())
            .toString();
    }
}
